﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="H2.NET.Web.Reports.Rpt_Run_Data2" Codebehind="Rpt_Run_Data2.aspx.cs" %>
<%@ Register Assembly="Anthem" Namespace="Anthem" TagPrefix="anthem" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>数据操作</title>
    <style type="text/css">       
        .gv_boder{width:100%; margin-top:3px;}
        .gv_boder th{height:26px; background-color:#EDEDED;color:#6C6B6B; font-size: 10pt;font-family:Arial; font-weight:bold;padding-left:2px;}
        .gv_header{style:font-size: 20pt; font-family:Arial; color:#6C6B6B;text-decoration: none;}
        .gv_item_alternating_row{height:25px; font-size: 9pt;font-family:Arial; background-color:#F9F9F9;}
        .gv_item_row{height:25px; font-size: 9pt;font-family:Arial}
        .gv_selected_row{height:25px; padding-left:2px;font-size: 9pt;font-family:Arial}
        .gv_pager{}   
        .cursor_hand{cursor: hand;}      
        .gv_head_hide{display: none;}                 
    </style>
    
    <script type="text/javascript">
	    function winOpenFullScreen(strURL)
	    {
		    var sheight = screen.height-150;
		    var swidth = screen.width-10;
		    var winoption ="left=0,top=0,height="+sheight+",width="+swidth+",toolbar=yes,menubar=yes,location=yes,status=yes,scrollbars=yes,resizable=yes";		
		    var tmp=window.open(strURL,'',winoption);
		    return tmp;
	    } 
	
	    function winOpenPopup(strURL,str_width,str_height,str_value,str_element,str_postback,str_multiple)
	    {
	        try
	        {
	            var var_time =new Date();
		        var winoption ="dialogWidth="+(parseInt(str_width) + 18)+"px;dialogHeight="+str_height+"px;dialogLeft: status:no; directories:yes;scrollbars:auto;Resizable=yes;";		
		        var tmp=window.showModalDialog(strURL+"&vt="+var_time,'',winoption);
        		
		        if(tmp != null &&  tmp != "" && tmp != undefined)
		        {
		            var o= eval('(' + tmp + ')'); 	
		            
		            //是否多选
		            if(str_multiple == "0")
		            {	        
		                document.getElementById(str_element).value=eval("o." + str_value);
		            }else
		            {
		                document.getElementById(str_element).value = document.getElementById(str_element).value + eval("o." + str_value) + ",";
		            }
    		        
		            //是否Postback
		            if(str_postback == "1")
		            {
		                __doPostBack(str_element,"change:"  + document.getElementById(str_element).value);
		            }
		        }
		    }catch(e)
		    {
		    }
	    }
	    
        function Delete_PreCallBack(button) 
        {
	        if (!confirm('您确认要删除选中的记录？')) 
	        {
		        return false;
	        }
	        return true;
        }	    	
    </script>    
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <fieldset style="border:solid 1px #45A1C3; margin:0px 0px 0px 0px;">
           <legend style="font-weight: bold; font-size: 9pt; color: #45A1C3; font-family:Arial">数据操作</legend>
            <table cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td style="width: 6px;"></td>
                    <td><anthem:Panel ID="PanUpdate" runat="server" AutoUpdateAfterCallBack="true" Width="100%"></anthem:Panel></td>
                    <td style="width: 6px;"></td>
                </tr>
                <tr>
                    <td style="height:12px;"></td>
                    <td></td>
                    <td></td>
                </tr>
                <tr>
                    <td></td>
                    <td>
                        <anthem:Button ID="UpdateReturn" Width="80" runat="server" Text="保存并返回" EnableCallBack="true" onclick="UpdateReturn_Click" />&nbsp;
                        <anthem:Button ID="Return" Width="60" runat="server" Text="返回" EnableCallBack="true" onclick="Return_Click" />
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td style="height:6px;"></td>
                    <td></td>
                    <td></td>
                </tr>                
            </table>
        </fieldset>
    </div>
    </form>
</body>
</html>
